// Decompiled by GOOSIN CO,LTD Copyright 2010 Pavel Kouznetsov.
// home page: http://www.Goosin.net
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   CommonTypeValidator.java

package include.validator;


public class CommonTypeValidator
{

	public CommonTypeValidator()
	{
	}

	public static Integer toInt(String value)
	{
		if (value == null)
			return null;
		return new Integer(value);
		NumberFormatException e;
		e;
		return null;
	}

	public static Long toLong(String value)
	{
		if (value == null)
			return null;
		return new Long(value);
		NumberFormatException e;
		e;
		return null;
	}

	public static Float toFloat(String value)
	{
		if (value == null)
			return null;
		return new Float(value);
		NumberFormatException e;
		e;
		return null;
	}

	public static Double toDouble(String value)
	{
		if (value == null)
			return null;
		return new Double(value);
		NumberFormatException e;
		e;
		return null;
	}
}
